<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang ads} &raquo; {lang keyword_adwords}</p>
</div>
<div id="rightTop"> 
    <h3>{lang keyword_adwords}</h3> 
    <ul class="subnav">
		<li><a class="btn1" href="spread.php"><span>{lang management}</span></a></li>
		<li><a href="spread.php?do=edit"><span>{lang add}</span></a></li>
    </ul>
</div>
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="" method="post">
  <table width="100%" cellspacing="0" class="dataTable" summary="{lang data_zone}">
    <thead>
		<tr>
		  <th class="firstCell"><input type="checkbox" name="idAll" id="idAll" onclick="pbCheckAll(this,'id[]');" title="{lang select_switch}"></th>
		  <th><label for="idAll">{lang keywords}</label></th>
		  <th>{lang the_title}</th>
		  <th>{lang link_url}</th>
		  <th>{lang description}</th>
		  <th>{lang show_status}</th>
		  <th>{lang expire_date}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <tbody>
		<!--{foreach from=$Items item=item}-->
		<tr class="tatr2">
		  <td class="firstCell"><input type="checkbox" name="id[]" value="{$item.id}" onclick="pbCheckItem(this,'idAll');" id="item_{$item.id}" title="{$item.id}"></td>
		  <td><label for="item_{$item.id}">{$item.keyword_name}</label></td>
		  <td>{$item.title}</td>
		  <td>{$item.target_url}</td>
		  <td>{$item.content|truncate:50}</td>
		  <td>{$CheckStatus[$item.status]}</td>
		  <td>{$item.exp_date}</td>
		  <td class="handler">
          <ul id="handler_icon">
            <li><a class="btn_delete" href="spread.php?id={$item.id}&adzone_id={$item.adzone_id}&do=del{$addParams}" title="{lang delete}">{lang delete}</a></li>
            <li><a class="btn_edit" href="spread.php?do=edit&id={$item.id}{$addParams}" title="{lang edit}">{lang edit}</a></li>
          </ul>      
          </td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="7">{lang no_datas}</td>
		</tr>
		<!--{/foreach}-->
    </tbody>
	</table>
	<div id="dataFuncs" title="{lang action_zone}">
    <div class="left paddingT15" id="batchAction">
      <input type="submit" name="del" value="{lang delete}" class="formbtn batchButton"/>
	  <select name="pb_action" id="PbAction" class="actionsel" onchange="javascript:document.list_frm.submit()">
		<option>{lang pls_select}{lang action}</option>
		<!--{foreach from=$CheckStatus item=item1 key=key1}-->
		<option value="{$key1}">{$item1}</option>
		<!--{/foreach}-->
		</select>
    </div>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<!-- {include file="footer.html"} -->